CVE-2025-30220
GeoServer XML External Entity (XXE) Injection
Description
GeoServer is an open source server that allows users to share and edit geospatial data. GeoTools Schema class use of Eclipse XSD library to represent schema data structure is vulnerable to XML External Entity (XXE) exploit. This impacts whoever exposes XML processing with gt-xsd-core involved in parsing, when the documents carry a reference to an external XML schema. The gt-xsd-core Schemas class is not using the EntityResolver provided by the ParserHandler (if any was configured). This also impacts users of gt-wfs-ng DataStore where the ENTITY_RESOLVER connection parameter was not being used as intended. This vulnerability is fixed in GeoTools 33.1, 32.3, 31.7, and 28.6.1, GeoServer 2.27.1, 2.26.3, and 2.25.7, and GeoNetwork 4.4.8 and 4.2.13.
INFO
Published Date :
June 10, 2025, 4:15 p.m.
Last Modified :
Aug. 26, 2025, 4:10 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
Affected Products
The following products are affected by CVE-2025-30220
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
CVSS Scores
Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|---|
CVSS 3.1 | CRITICAL | [email protected] | ||||
CVSS 3.1 | CRITICAL | [email protected] |
Solution
- Update GeoServer to version 2.27.1 or later.
- Update GeoServer to version 2.26.3 or later.
- Update GeoServer to version 2.25.7 or later.
- Update GeoTools to a patched version.
Public PoC/Exploit Available at Github
CVE-2025-30220 has a 1 public
PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-30220
.
URL | Resource |
---|---|
https://docs.geoserver.org/latest/en/user/production/config.html#production-config-external-entities | Product |
https://github.com/geonetwork/core-geonetwork/pull/8757 | Patch |
https://github.com/geonetwork/core-geonetwork/pull/8803 | Patch |
https://github.com/geonetwork/core-geonetwork/pull/8812 | Patch |
https://github.com/geonetwork/core-geonetwork/security/advisories/GHSA-2p76-gc46-5fvc | Patch Third Party Advisory |
https://github.com/geoserver/geoserver/security/advisories/GHSA-jj54-8f66-c5pc | Exploit Patch Third Party Advisory |
https://github.com/geotools/geotools/security/advisories/GHSA-826p-4gcg-35vw | Third Party Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-30220
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-30220
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
一个 CVE 漏洞预警知识库,无 exp/poc,部分包含修复方案。A knowledge base of CVE security vulnerability, no PoCs/exploits.
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-30220
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-30220
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Aug. 26, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H Added CPE Configuration OR *cpe:2.3:a:geotools:geotools:*:*:*:*:*:*:*:* versions up to (excluding) 28.6.1 *cpe:2.3:a:geotools:geotools:*:*:*:*:*:*:*:* versions from (including) 29.0 up to (excluding) 31.7 *cpe:2.3:a:geotools:geotools:*:*:*:*:*:*:*:* versions from (including) 32.0 up to (excluding) 32.3 *cpe:2.3:a:geotools:geotools:33.0:*:*:*:*:*:*:* *cpe:2.3:a:osgeo:geonetwork:*:*:*:*:*:*:*:* versions from (including) 4.2.0 up to (excluding) 4.2.13 *cpe:2.3:a:osgeo:geonetwork:*:*:*:*:*:*:*:* versions from (including) 4.4.0 up to (excluding) 4.4.8 *cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:* versions from (including) 2.26.0 up to (excluding) 2.26.3 *cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:* versions up to (excluding) 2.25.7 *cpe:2.3:a:osgeo:geoserver:2.27.0:*:*:*:*:*:*:* Added Reference Type GitHub, Inc.: https://docs.geoserver.org/latest/en/user/production/config.html#production-config-external-entities Types: Product Added Reference Type GitHub, Inc.: https://github.com/geonetwork/core-geonetwork/pull/8757 Types: Patch Added Reference Type GitHub, Inc.: https://github.com/geonetwork/core-geonetwork/pull/8803 Types: Patch Added Reference Type GitHub, Inc.: https://github.com/geonetwork/core-geonetwork/pull/8812 Types: Patch Added Reference Type GitHub, Inc.: https://github.com/geonetwork/core-geonetwork/security/advisories/GHSA-2p76-gc46-5fvc Types: Patch, Third Party Advisory Added Reference Type GitHub, Inc.: https://github.com/geoserver/geoserver/security/advisories/GHSA-jj54-8f66-c5pc Types: Exploit, Patch, Third Party Advisory Added Reference Type GitHub, Inc.: https://github.com/geotools/geotools/security/advisories/GHSA-826p-4gcg-35vw Types: Third Party Advisory -
New CVE Received by [email protected]
Jun. 10, 2025
Action Type Old Value New Value Added Description GeoServer is an open source server that allows users to share and edit geospatial data. GeoTools Schema class use of Eclipse XSD library to represent schema data structure is vulnerable to XML External Entity (XXE) exploit. This impacts whoever exposes XML processing with gt-xsd-core involved in parsing, when the documents carry a reference to an external XML schema. The gt-xsd-core Schemas class is not using the EntityResolver provided by the ParserHandler (if any was configured). This also impacts users of gt-wfs-ng DataStore where the ENTITY_RESOLVER connection parameter was not being used as intended. This vulnerability is fixed in GeoTools 33.1, 32.3, 31.7, and 28.6.1, GeoServer 2.27.1, 2.26.3, and 2.25.7, and GeoNetwork 4.4.8 and 4.2.13. Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L Added CWE CWE-611 Added CWE CWE-918 Added Reference https://docs.geoserver.org/latest/en/user/production/config.html#production-config-external-entities Added Reference https://github.com/geonetwork/core-geonetwork/pull/8757 Added Reference https://github.com/geonetwork/core-geonetwork/pull/8803 Added Reference https://github.com/geonetwork/core-geonetwork/pull/8812 Added Reference https://github.com/geonetwork/core-geonetwork/security/advisories/GHSA-2p76-gc46-5fvc Added Reference https://github.com/geoserver/geoserver/security/advisories/GHSA-jj54-8f66-c5pc Added Reference https://github.com/geotools/geotools/security/advisories/GHSA-826p-4gcg-35vw